/*CDN地址*/ 
var vueUrl = "https://cdn.jsdelivr.net/npm/vue";
var ElementUiCss = "https://cdn.bootcdn.net/ajax/libs/element-ui/2.15.1/theme-chalk/index.min.css";
var ElementUiJs = "https://cdn.bootcdn.net/ajax/libs/element-ui/2.15.1/index.min.js";
var jqueryUrl = "https://cdn.staticfile.org/jquery/2.0.3/jquery.min.js"

/*颜色*/

//宽高调整颜色
var whSizeDivUpColor = "#00000000";
var whSizeDivDownColor = "#00000077";



//Element-UiCss
addCss(ElementUiCss)
//Vue
addScript(vueUrl)
//Element-Ui
addScript(ElementUiJs)
//Jquery
addScript(jqueryUrl)

function addScript(url){
    var script = document.createElement('script');
    script.setAttribute('type','text/javascript');
    script.setAttribute('src',url);
    document.getElementsByTagName('head')[0].appendChild(script);
}

function addCss(url){
    var link = document.createElement('link');
    link.setAttribute('rel','stylesheet');
    link.setAttribute('href',url);
    document.getElementsByTagName('head')[0].appendChild(link);
}